TEC\Tickets\Commerce\Gateways\PayPal\Client A

Total Complexity 67
Dependencies 8
Dependents 10
Total lines 921
Lines of code 490
Logical lines of code 214
Comment lines 319
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
request()
B
34 19 87
create_order()
A
40 6 65
create_webhook()
S
46 6 41
update_webhook()
S
44 5 46
get_webhook()
S
52 3 24
capture_order()
S
55 2 20
get_payment_authorization()
S
57 2 18
list_webhooks()
S
58 2 17
delete_webhook()
S
58 2 16
verify_webhook_signature()
S
54 1 21
get_order()
S
57 1 17
refund_payment()
S
58 1 16
get_access_token_from_authorization_code()
S
58 1 16
get_home_page_url()
S
69 2 7
get_js_sdk_url()
S
57 1 15
get_environment_url()
S
71 2 6
get_access_token_from_client_credentials()
S
60 1 14
get_access_token()
S
80 1 3
get_client_token()
S
67 1 8
delete()
S
78 1 3
patch()
S
78 1 3
get_user_info()
S
64 1 10
post()
S
78 1 3
get()
S
78 1 3
get_debug_header()
S
82 1 3
set_debug_header()
S
81 1 3
get_api_url()
S
71 1 5